home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ham Radio 2000
/
Ham Radio 2000.iso
/
ham2000
/
packet
/
p_tapr
/
tnchst
/
aft.inc
< prev
next >
Wrap
Text File
|
1990-06-18
|
994b
|
44 lines
/***************************************************************
AFT literals
****************************************************************/
/* non=zero to enable flow control XON/XOFF transparancy */
#define FLOWTRANS 1
#define AFT_FRAME_TRACE TRUE
#define BROADCAST_TRACE FALSE
/* AFT queue runs at level..... */
/* TX - level INT2 */
#define AFT_TXQ 2
/* RX - level INT1 */
#define AFT_RXQ 1
/* framing literal for AFT basic transparancy level 0 */
#define AFT_FLAG (0x7e)
/* escape for AFT basic transparancy */
#define AFT_DLE (0x7d)
/* ^Q/^S mapping for AFT level 1 Flow-Control transparancy */
#define XON (0x11)
#define XOFF (0x13)
/* STATES for AFT drivers */
/* states for aft transmitter -- see SIOHOST */
#define AFTTIDLE 0
#define AFTTDATA 1
#define AFTTCLR 2
/* states for aft receiver -- see AFT */
#define AFRHUNT 0
#define AFRFLAG 1
#define AFRRX 2
#define AFRRX2 3